<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>


    <title>resume</title>
    <%--导入css --%>
    <link rel="stylesheet" href="${pageContext.request.contextPath }/css/main.css" type="text/css" />
</head>

<body class="main">
<div id="divpagecontent">
    <table width="100%" border="0" cellspacing="0">
        <tr>

            <td>
                <table cellspacing="0" class="listcontent">
                    <tr>
                        <td>
                            <hr />
                            <h1>编辑resume</h1>
                            <hr />
                            <table cellspacing="0" cellpadding="1" rules="all"
                                   bordercolor="gray" border="1" id="DataGrid1"
                                   style="BORDER-RIGHT: gray 1px solid; BORDER-TOP: gray 1px solid; BORDER-LEFT: gray 1px solid; WIDTH: 100%; WORD-BREAK: break-all; BORDER-BOTTOM: gray 1px solid; BORDER-COLLAPSE: collapse; BACKGROUND-COLOR: #f5fafe; WORD-WRAP: break-word">
                                <tr style="FONT-WEIGHT: bold; FONT-SIZE: 12pt;  BACKGROUND-COLOR: #afd1f3">
                                    <td align="center" width="15%">id</td>
                                    <td align="center" width="20%">name</td>
                                    <td align="center" width="15%">address</td>
                                    <td align="center" width="15%">phone</td>
                                </tr>

                                    <tr onmouseover="this.style.backgroundColor = 'white'"
                                        onmouseout="this.style.backgroundColor = '#F5FAFE';">
                                        <td>${resume.id}</td>
                                        <td>${resume.name}</td>
                                        <td>${resume.address}</td>
                                        <td>${resume.phone}</td>
                                    </tr>

                                <form action="/resume/update" method="post">
                                    <tr onmouseover="this.style.backgroundColor = 'white'"
                                        onmouseout="this.style.backgroundColor = '#F5FAFE';">
                                        <td><input type="hidden" name="id" value="${resume.id}"></td>
                                        <td><input type="text" name="name" style="width: 60px" value="${resume.name}"></td>
                                        <td><input type="text" name="address" style="width: 60px" value="${resume.address}"></td>
                                        <td><input type="text" name="phone" style="width: 60px" value="${resume.phone}"></td>
                                    </tr>
                                    <tr><input type="submit" value="修改"></tr>
                                </form>
                            </table>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</div>
</body>
</html>
